.snippet {
  border: 1px solid #ffdd57;
  margin: 2rem;
  position: relative;
  border-radius: 5px;
  border-top-left-radius: 0;
}

.snippet::before {
  content: 'snippet';
  align-items: stretch;
  display: flex;
  background: #ffdd57;
  border-radius: 3px 3px 0 0;
  position: absolute;
  left: 0;
  bottom: 100%;
  color: rgba(0, 0, 0, 0.7);
  font-size: 7px;
  font-weight: bold;
  padding: 3px 5px;
  text-transform: uppercase;
  vertical-align: top;
}

.snippet::after {
    content: '';
    display: table;
    clear: both;
}
